package com.luojialong.onlineJudge.service;

import com.luojialong.onlineJudge.model.dto.file.FileSearchRequest;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface FileService {

    String upload(MultipartFile multipartFile, String parentPath, HttpServletRequest request) throws Exception;

    void download(FileSearchRequest fileSearchRequest, HttpServletResponse response);
}
